package com.xzmd.md_city.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:Corday
 * @Date:2021/09/14/22:48
 */
@RestController
@RequestMapping("/mc")
public class MyController {
    @RequestMapping("/go")
    public String go(){
        //转成123
        Integer.parseInt("abc123");
        //如果没有异常，则正常输出，有异常则跳转到异常页
        return "轻轻地我走了!";
    }
}
